Enables or disables
custom icons on a specified volume.
pascal OSErr SetCustomIconsEnabled(
SInt16 vRefNum,
Boolean enableCustomIcons);
vRefNum
A value of type SInt16
specifying the volume where custom icons are to be enabled or disabled.
enableCustomIcons
A value of type Boolean
. If you pass true
, custom icons are enabled on the volume specified. Passing false
disables custom icons on the volume specified.
If you use the SetCustomIconsEnabled
function to enable or disable custom icons, the setting remains in effect only as long as the specified volume remains mounted during the current session.